{{php}}
$tplName=$this->_tpl_vars['template_name'];
$name=$this->_tpl_vars['name'];
$description=$this->_tpl_vars['description'];

$title="_点评网站的平台_企业点评_公司评论-www.87dianping.com";
$Keywords="点评网站的平台,企业点评,公司评论";
$Description='百企点评网站平台为你提供各地IT公司网站点评、工资待遇、工作环境、发展机遇、压力指数、领导才能、公司管理、公司前景、企业诚信等点评，并且汇集了大量网友精彩的网站点评，以及完全基于网友评分的各类网站排名。来和我们一起“快乐分享、公正点评”吧！';

$css=array();

switch($tplName)
{
	case "index.tpl":
		$title="点评网站的平台_企业点评_公司评论-www.87dianping.com";
		$Keywords="点评网站的平台,企业点评,公司评论";
		$Description='百企点评网站平台为你提供各地IT公司网站点评、工资待遇、工作环境、发展机遇、压力指数、领导才能、公司管理、公司前景、企业诚信等点评，并且汇集了大量网友精彩的网站点评，以及完全基于网友评分的各类网站排名。来和我们一起“快乐分享、公正点评”吧！';
		array_push($css,"style.css");
		array_push($css,"index.css");
	break;
	case "login.tpl":
		$title="会员登录".$title;
		array_push($css,"style.css");
		array_push($css,"login.css");
	break;
	case "regist.tpl":
		$title="会员注册".$title;
		array_push($css,"style.css");
		array_push($css,"regist.css");
	break;
	case "corporation.tpl":
		$title = $name.'怎么样_'.$name.'地址电话-www.87dianping.com';
		$Keywords = $name.'怎么样，'.$name.'地址电话';
		$Description = $name.$description;
		array_push($css,"style.css");
		array_push($css,"corporation.css");
	break;
	case "comment.tpl":
		$title = $name.'怎么样_'.$name.'地址电话-www.87dianping.com';
		$Keywords = $name.'怎么样，'.$name.'地址电话';
		$Description = $name.$description;
		array_push($css,"style.css");
		array_push($css,"corporation.css");
	break;
	case "corporation_list.tpl":
		$title="企业大全".$title;
		array_push($css,"style.css");
		array_push($css,"corporation_list.css");
	break;
	case "estimate_list.tpl":
		$title="更多评价".$title;
		array_push($js,"corporation.js");
		array_push($css,"style.css");
		array_push($css,"estimate_list.css");
	break;
	case "add_cor.tpl":
		$title="添加新企业".$title;
		array_push($css,"style.css");
		array_push($css,"add_cor.css");
	break;
	case "mypage.tpl":
		$title="我的主页".$title;
		array_push($css,"style.css");
		array_push($css,"my_est.css");
	break;
	case "myestimate.tpl":
		$title="我的评价".$title;
		array_push($css,"style.css");
		array_push($css,"my_est.css");
	break;
	case "addestimate.tpl":
		$title="我要点评".$title;
		array_push($css,"style.css");
		array_push($css,"addestimate.css");
	break;
	case "myinfo.tpl":
		$title="个人信息_我的主页".$title;
		array_push($css,"style.css");
		array_push($css,"my_est.css");
	break;
	case "myinfo_edit.tpl":
		$title="个人信息_我的主页".$title;
		array_push($css,"style.css");
		array_push($css,"my_est.css");
	break;
	case "mycorporation.tpl":
		$title="我添加的企业_我的主页".$title;
		array_push($css,"style.css");
		array_push($css,"my_est.css");
	break;
	case "suggest.tpl":
		$title="您的建议_".$title;
		array_push($css,"style.css");
		array_push($css,"suggest.css");
	break;
	case "404.tpl":
		$title="没有该页面_".$title;
		array_push($css,"style.css");
	break;
	case "contact.tpl":
		$title="联系我们_".$title;
		array_push($css,"style.css");
	break;
	case "category.tpl":
		$title = '上海'.$name.'工资待遇_上海'.$name.'招聘信息_公司简介_公司电话-www.87dianping.com';
		$Keywords = '上海'.$name.'工资待遇，上海'.$name.'公司电话，地区 【'.$name.'】工资待遇_招聘信息_公司简介_公司电话-www.87dianping.com';
		array_push($css,"style.css");
		array_push($css,"corporation_list.css");
	break;
	case "tech_index.tpl":
		$title="IT技术分享_".$title;
		array_push($css,"style.css");
		array_push($css,"tech_index.css");
	break;
	case "tech.tpl":
		$title=$name."_".$title;
		array_push($css,"style.css");
		array_push($css,"tech.css");
	break;
	case "corporation_index.tpl":
		$title="企业大全"."_".$title;
		array_push($css,"style.css");
		array_push($css,"corporation_index.css");
	break;
	case "corporation_profile.tpl":
		$title = $name."简介"."_".$title;
		array_push($css,"style.css");
		array_push($css,"corporation_profile.css");
	break;
	default :
		array_push($css,"style.css");
		array_push($css,"index.css");
	break;
}

echo "<meta name=\"Keywords\" content=\"".$Keywords."\" />";
echo "<meta name=\"Description\" content=\"".$Description."\" />";
echo "<title>".$title."</title>";

foreach($css as $key=>$val)
{
	echo "<link href=\"/css/".$val."\" rel=\"stylesheet\" type=\"text/css\" />";
}
{{/php}}